package com.itheima.restkeeper.pojo;

import com.itheima.restkeeper.basic.BasicPojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Version: V1.0
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="PaySetting对象", description="")
public class PaySetting extends BasicPojo {


    public PaySetting(Long id, String payKey, String payValue, Integer type, Long enterpriseId) {
        super(id);
        this.payKey = payKey;
        this.payValue = payValue;
        this.type = type;
        this.enterpriseId = enterpriseId;
    }

    @ApiModelProperty(value = "支付配置对应的key")
    private String payKey;

    @ApiModelProperty(value = "支付key对应的值")
    private String payValue;

    @ApiModelProperty(value = "支付渠道类型")
    private Integer type;

    @ApiModelProperty(value = "企业商户号【餐掌柜服务使用】")
    private Long enterpriseId;

}
